package top.doe.jobmanager;

import sun.net.ResourceManager;
import top.doe.rpc.Configuration;
import top.doe.rpc.RpcService;
import top.doe.rpc.RpcUtils;

public class JobManagerRunner {

    public static void main(String[] args) {
        Configuration configuration = new Configuration();
        configuration.setProperty("actor.system.name","jobmanager");

        RpcService rpcService = RpcUtils.createRpcService(configuration);

        JobMaster jobMaster = new JobMaster(rpcService,"job_master");

    }
}
